#include <iostream>
#include <set>

using namespace std;

int main(void)
{
    set<int> m = {100, 200, 300, 400};

    auto it = m.find(600);

    cout << "迭代器指向 " << *it << endl;
    cout << "set.end() " << *m.end() << endl;

    auto p = m.begin();
    while (p!= m.end())
    {
        cout << *p <<endl;
        p++;
    }
    
    return 0;
}